<?php
	Class CommonAction extends Action {
		public function _initialize(){
			if(!isset($_SESSION['uid'])||!isset($_SESSION['username'])){
				redirect(U('Login/index'));
			}
		}
	}

?>